package cn.xiaomubiao.oschine.adapter.myinfo;

import android.view.View;
import android.widget.TextView;

import cn.xiaomubiao.oschine.R;
import cn.xiaomubiao.oschine.bean.Favorite;

/**
 * @author
 * @version 1.0
 * @date 2017/4/5
 */

public class MyInfoCollectionCommonAdapter extends MyInfoBaseListAdapter<Favorite>{
    
    @Override
    protected void initItemView(View itemView, int position) {
        TextView tv = (TextView) itemView.findViewById(R.id.collection_item_tv);
        tv.setText(datas.get(position).getTitle());
    }
    

    @Override
    public int getLayoutId() {
        return R.layout.view_item_myinfo_collection;
    }
}
